package com.demo2do.fms.admin.dao.vam;

import java.util.List;

import com.demo2do.core.persistence.annotation.Dao;
import com.demo2do.core.persistence.annotation.Query;
import com.demo2do.core.persistence.annotation.Variable;
import com.demo2do.fms.entity.vam.DriverLine;

/**
 *
 * @author Ark
 *
 */
@Dao("hibernate")
public interface DriverLineDao {

    /**
     * @param brandCNCodes
     * @return
     */
    @Query("FROM DriverLine WHERE brandCNCode IN(:brandCNCodes)")
    public List<DriverLine> list(@Variable("brandCNCodes") List<String> brandCNCodes);
    
}
